@import './variables.scss';
// @import './mixin.scss';
// @import './transition.scss';
@import './element-ui.scss';
// @import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  width: 100%;
  height: 100%;
  padding: 10px;
}

.d-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-flex-center2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.d-flex-center-jb {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.d-flex-center-jb2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.item_title {
  font-family: Source Han Sans CN, Source Han Sans CN-500;
  font-weight: 500;
  color: #ffffff;
  height: 7%;
}

.item_content {
  height: 93%;
}

.item_title2 {
  font-family: Source Han Sans CN, Source Han Sans CN-500;
  font-weight: 500;
  color: #ffffff;
  height: 5%;
}

.item_content2 {
  height: 95%;
}

.item_border {
  border: 1px solid #204b5d;
  border-radius: 4px;
  box-shadow: 0px 0px 4px 0px #16d0ff;
}

.success_point {
  width: 8px;
  height: 8px;
  background: #52ff43;
  border-radius: 50%;
  margin-right: 8px;
}

.danger_point {
  width: 6px;
  height: 6px;
  background: #119BBE;
  border-radius: 50%;
  margin-right: 8px;
}

.border-primary-top {
  border: 1px solid #204b5d;
  border-radius: 4px;
  box-shadow: 0px 0px 4px 0px #16d0ff;
}

.height-30 {
  height: 30%;
}

.bg_danger {
  background: rgba(255, 0, 0, 0.32);
}

.font_danger {
  color: #de0c0c;
}

.font-green {
  font-family: Source Han Sans CN, Source Han Sans CN-500;
  font-weight: 500;
  color: #07C160
}

.controlDialog .el-loading-mask {
  background-color: #0B333C;
}

.el-loading-mask {
  background-color: rgba(0, 0, 0, 0.5);
}

.el-loading-mask .el-loading-spinner .el-loading-text {
  font-size: 20px;
}

.el-loading-spinner {
  font-size: 30px;
}

.height-47 {
  height: 47%;
}

.el-switch__core:after {
  top: 0 !important;
}

.el-switch.is-checked .el-switch__core::after {
  top: 1px !important;
}

.el-switch.is-checked .el-switch__core {
  border-color: rgb(19, 206, 102);
  background-color: rgb(19, 206, 102);
}

.el-switch__core {
  border-color: rgb(255, 73, 73);
  background-color: rgb(255, 73, 73);
}

.el-radio__label {
  font-size: 18px;
  color: #ffffff;
}

.el-radio__input.is-checked .el-radio__inner {
  background-color: #15d9e9;
  border-color: #15d9e9;
}

.el-radio__input.is-checked + .el-radio__label {
  color: #15d9e9;
}

.el-checkbox__label {
  font-size: 18px;
  color: #ffffff;
}

.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #15d9e9;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #15d9e9;
  border-color: #15d9e9;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #15d9e9;
  border-color: #15d9e9;
}

.allControl {
  cursor: pointer;
  padding: 4px 10px;
  color: #15d9e9;
  background: #13353f;
  border: 1px solid #226067;
  border-radius: 4px;
  box-shadow: 0px 4px 10px 0px rgba(102, 246, 229, 0.35) inset, 0px -4px 10px 0px rgba(102, 246, 229, 0.35) inset;
}

.radius50 {
  border-radius: 50%;
}

.cursor-pointer {
  cursor: pointer;
}

.white2 {
  color: #bfbfbf;
}

.week {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
}

.bg-index-orange {
  background: #b86104;
  cursor: pointer;
}

.bg-index-orange:hover {
  transform: scale(1.05);
}
